/**
 * 
 */
package com.platform.database.server.contract.impl;

import org.springframework.stereotype.Component;

import com.platform.database.contract.IDatabaseContract;
import com.platform.database.entity.DataBase;

/**
 * 数据库接口实现测试
 * @author wei.gao
 */
@Component
public class DatabaseContract implements IDatabaseContract {

	/* (non-Javadoc)
	 * @see com.platform.database.contract.IDatabaseContract#database()
	 */
	@Override
	public DataBase database() {
		DataBase db = new DataBase();
		db.setDescription("mysql");
		db.setTimestramp(System.currentTimeMillis()+"");
		db.setVersion("1.0.0");
		return db;
	}

}
